repo: Add concurrency=send
authorColin Walters <walters@verbum.org>
Fri, 2 Apr 2021 13:47:02 +0000 (13:47 +0000)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:56 +0000 (12:53 -0400)
commitb5496f70f640d38055c1322660eca1097ab5039f
tree77b656d22614e46f889054a41f8e069baecbc67b
parent0718f433a27d857e6ac2ad62714ef969fb0e49f2
repo: Add concurrency=send

Ultimately a repo is just a file descriptor wrapper with some
cached data, etc.  We can send it between threads, much like how
`gio::File` is `Send`.

Motivated by trying to write to a repo from a separate thread
in https://github.com/cgwalters/ostree-container
rust-bindings/rust/conf/ostree.toml
rust-bindings/rust/src/auto/repo.rs
rust-bindings/rust/src/auto/versions.txt
rust-bindings/rust/sys/src/auto/versions.txt